Method and apparatus for generating stereoscopic file

ABSTRACT

A method and an apparatus are provided for generating a stereoscopic file. The apparatus includes a memory configured to store a stereoscopic file, the stereoscopic file including an svmi box for stereoscopic video media information, the svmi box including a first value indicating a stereoscopic composition type, and an scdi box for stereoscopic camera and display information, the svmi box including a second value associated with two cameras of a stereoscopic camera; a reproduction device configured to parse the svmi box and the scdi box to reproduce the stereoscopic file; and a display device configured to display the reproduced stereoscopic file.

PRIORITY

This application is a Continuation Application of U.S. patentapplication Ser. No. 14/039,919, which was filed in the U.S. Patent andTrademark Office on Sep. 27, 2013, which is a Continuation Applicationof U.S. patent application Ser. No. 13/839,196, which was filed in theU.S. Patent and Trademark Office on Mar. 15, 2013, and issued as U.S.Pat. No. 8,570,365 on Oct. 29, 2013, which is a Continuation Applicationof U.S. patent application Ser. No. 12/206,443, which was filed in theU.S. Patent and Trademark Office on Sep. 8, 2008, and issued as U.S.Pat. No. 8,400,497 on Mar. 19, 2013, and claims priority under 35 U.S.C.§119(a) to Korean Application Serial Nos. 10-2007-0091144 and10-2008-0013705, which were filed in the Korean Intellectual PropertyOffice on Sep. 7, 2007 and Feb. 14, 2008, respectively, the contents ofeach of which are incorporated herein by reference.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention generally relates to a method and apparatus forgenerating a stereoscopic file.

2. Description of the Related Art

Conventionally, standards for a file format used to store atwo-dimensional (2D) image have been known, whereas a standard for afile format used to store a three-dimensional (3D) stereoscopic imagehas not yet been known.

In general, the Moving Picture Experts Group (MPEG), which is aninternational standardization organization related to multimedia, hasbeen standardizing MPEG-2, MPEG-4, MPEG-7 and MPEG-21, since its firststandardization of MPEG-1 in 1988. As a variety of standards have beendeveloped in this way, a need to generate one profile by combiningdifferent standard technologies has arisen. In response to this need,MPEG-A (MPEG Application: ISO/ICE 230000) multimedia applicationstandardization activities have been carried out. In a multimediaapplication format (MAF) that is one of MPEG-A activities, non-MPEGstandards as well as the conventional MPEG standards are also combinedso that the utilization value of the standard can be enhanced. In thisway, already verified standard technologies can be easily combinedwithout any further efforts to set up a separate standard, therebydeveloping the MAF and maximizing the efficiency value thereof.

A technology of displaying a 3D image has been actively developed inorder to display more realistic image information. A method ofdisplaying a 3D image, which includes scanning a left view image and aright view image for respective corresponding locations of aconventional display device according to human visual characteristics,separating left and right views to correspond to left and right eyes ofa viewer, and displaying an image as a 3D stereoscopic image is regardedas being applicable in various respects.

For example, a portable terminal, which is embedded with a barrierLiquid Crystal Display (LCD), reproduces stereoscopic content andprovides a user with a more realistic image. In the present invention,the stereoscopic content includes 3D image data, which may be referredto as a stereoscopic file, or stereoscopic data. Also, the monoscopiccontent includes a 2D image data, which may be referred to as monoscopicdata.

A general media file includes data regarding a single image, whereas thestereoscopic file includes left view image data and right view imagedata and information regarding a 3D display. However, a file format usedto store and reproduce the stereoscopic file has not yet beenstandardized.

SUMMARY OF THE INVENTION

Accordingly, the present invention substantially solves theabove-mentioned problems occurring in the prior art, and provides a fileformat used to store and reproduce a stereoscopic file based on anInternational Standardization Organization (ISO) based media fileformat, and an apparatus and method for generating the stereoscopic filehaving the file format.

In accordance with an aspect of the present invention, an apparatus isprovided for reproducing a stereoscopic file. The apparatus includes amemory configured to store a stereoscopic file, the stereoscopic fileincluding an svmi box for stereoscopic video media information, the svmibox including a first value indicating a stereoscopic composition type,and an scdi box for stereoscopic camera and display information, thesvmi box including a second value associated with two cameras of astereoscopic camera; a reproduction device configured to parse the svmibox and the scdi box to reproduce the stereoscopic file; and a displaydevice configured to display the reproduced stereoscopic file.

In accordance with another aspect of the present invention, an apparatusis provided for generating a stereoscopic file. The apparatus includes amemory configured to store first video data and second video data; and afile generating device configure to arrange the first video data and thesecond video data according to a stereoscopic file format; and generatea stereoscopic file. The stereoscopic file includes an svmi box forstereoscopic video media information, the svmi box including a firstvalue indicating a stereoscopic composition type; and an scdi box forstereoscopic camera and display information, the svmi box including asecond value associated with two cameras of a stereoscopic camera.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and other aspects, features and advantages of the presentinvention will be more apparent from the following detailed descriptiontaken in conjunction with the accompanying drawings, in which:

FIG. 1 is a diagram of a conventional International StandardizationOrganization (ISO) 14496-12 based two-dimensional (2D) image fileformat;

FIG. 2 is a diagram of a stereoscopic file format according to anembodiment of the present invention;

FIG. 3 is a diagram of a stereoscopic file format according to anembodiment of the present invention;

FIG. 4 is a diagram of a stereoscopic file format according to anotherembodiment of the present invention;

FIG. 5 is a block diagram of an apparatus for generating a stereoscopicfile according to an embodiment of the present invention;

FIG. 6 is a flowchart of a method of generating a stereoscopic fileaccording to an embodiment of the present invention; and

FIG. 7 is a diagram of a stereoscopic file format according to anotherembodiment of the present invention.

DETAILED DESCRIPTION OF EMBODIMENTS OF THE PRESENT INVENTION

Hereinafter, preferred embodiments of the present invention will bedescribed with reference to the accompanying drawings. In the followingdescription, descriptions of known functions and configurationsincorporated herein will be omitted when they may make the subjectmatter of the present invention rather unclear.

A stereoscopic file includes left view image data and right view imagedata and information regarding a three-dimensional (3D) display.However, a file format used to store and reproduce the stereoscopic filehas not been standardized. It takes much time and effort to discuss anew standard or specification for defining a stereoscopic file format.

To address these problems, the present invention provides a stereoscopicfile format based on a conventional media file format, and an apparatusand method for generating a stereoscopic file.

In more detail, the present invention provides a file format used tostore and reproduce stereoscopic content based on an InternationalStandardization Organization (ISO) based media file format.

Before describing the stereoscopic file format of the present invention,a block of a two-dimensional (2D) image file format according to theconventional standard technology will now be described with reference toFIG. 1 which is a diagram of a conventional ISO 14496-12 based 2D imagefile format 100. Referring to FIG. 1, the conventional ISO 14496-12based 2D image file format 100 includes a moov area 110 and an mdat area120. The mdat area 120 is a media data area and includes video data 103and audio data 104. The video data 103 and audio data 104 are stored ina frame unit. The moov area 110 is a header area and has an object basedstructure. The moov area 110 includes all pieces of information used toreproduce a file, including content information, such as a frame rate, abit rate, image size, etc. and synchronization information used tosupport a reproduction function of FF/REW (fastforward/rewind), inparticular, information regarding total frame number of the video data103 and size of each frame, etc. A reproduction apparatus canreconstruct and reproduce the video data 103 and the audio data 104 byparsing the moov area 110 from among the file format.

The present invention selects and arranges necessary boxes from databoxes included in the conventional ISO 14496-12 based 2D image fileformat 100, so as to constitute a stereoscopic file format structure.

FIG. 2 shows a stereoscopic file format 300 according to an embodimentof the present invention. Referring to FIG. 2, the stereoscopic fileformat 300 includes boxes selected from the boxes included in aconventional ISO based media file format.

The ISO based media file format is a basic structure of a file formatstandardized by the Moving Picture Experts Group (MPEG) to store andreproduce multi-media used for various types of applications. Forexample, .mp4, .3gp, .3gp2, .k3g, .skm, etc. are multimedia file formatsbased on the basic structure of the ISO based media file format.

The definition of the boxes included in the ISO based media file formatand syntax thereof are described in the ISO/IEC 14496-12 ISO based mediafile format, which can be obtained by one of ordinary skill in the art.

Referring to FIG. 2, the stereoscopic file format 300 has a hierarchicalstructure in the same manner as the conventional media file structure.

The stereoscopic file format 300 is defined by selecting and assemblingboxes 301-343 which are necessary for storing and reproducingstereoscopic content from the boxes included in the conventional ISObased media file format. The boxes 301-343 have a hierarchicalstructure, and a brief description thereof will now be described below.The detailed description thereof refers to the ISO/IEC 14496-12 ISObased media file format.

An ftyp box 301 indicates a file type and compatibility.

A moov box 303 includes all metadata relating to media data.

An mvhd box 305 indicates a movie header.

A trak box 307 is a container for each track or stream.

A tkhd box 309 is a track header including general information regardinga track.

An mdia box 311 is a container for media data information included in atrack.

An mdhd box 313 indicates a media header.

An hdlr box 315 is a handler defining the type of media.

An minf box 317 is a container for the media data information.

A vmhd box 319 includes video media header information.

An smhd box 321 includes sound media header information.

An hmhd box 323 includes hint media header information.

An nmhd box 325 includes Null media header information.

A dinf box 327 is a data information container.

A dref box 329 is a data reference box defining sources of media in atrack.

An stbl box 331 is a sample table box.

An stsd box 333 is a sample description box for codec type information,initialization information, etc.

An stts box 335 indicates a decoding type of a sample.

An stsc box 337 is a sample-to-chunk box indicating a location where asample bitstream is stored.

An stsz box 339 indicates bitstream sizes of samples.

An stco box 341 is a chunk offset box indicating where a samplebitstream is stored.

An mdat box 343 is a container including media data.

The stereoscopic file format 300 as shown in FIG. 2 defined by thepresent invention can be used to generate a stereoscopic content filehaving a variety of structures.

In the present embodiment, a newly defined value is used to indicate thestructure of a stereoscopic content file. In this case, the valueindicating the structure of the stereoscopic content file can beincluded in one of the boxes included in the stereoscopic file format300.

Alternatively, in the present embodiment, a specific value of one of theboxes included in the stereoscopic file format 300 can be used toindicate the structure of the stereoscopic content file. For example, amajor_brand syntax value defined in the ftyp box 301 can be used toindicate the structure of the stereoscopic content file.

In more detail, the major_brand syntax value defined in the ftyp box 301is defined to indicate a ssc1 type and a ssc2 type so as to identify apiece of stereoscopic content having 1 elementary stream (ES) andanother piece of stereoscopic content having 2 ESs as summarized inTable 1 below.

TABLE 1 Type Specification ‘ssc1’ Stereoscopic content with 1 ES(Elementary Stream) ‘ssc2’ Stereoscopic content with 2 ES (ElementaryStream)

To be more specific, the ftyp box 301 included in the stereoscopic fileformat 300 is designed so that the major_brand syntax value can indicatethe ssc1 type and the ssc2 type.

Therefore, when a reproducing apparatus reproduces a predetermined pieceof stereoscopic content, the structure of the stereoscopic file format300 can be determined according to the ssc1 type and the ssc2 typeindicated by the major_brand syntax value of the ftyp box 301 includedin the stereoscopic file format 300.

If the major_brand syntax value of the ftyp box 301 indicates the ssc2type, the stereoscopic file format 300 has a file structure as shown inFIG. 3. If the major_brand syntax value of the ftyp box 301 indicatesthe ssc1 type, the stereoscopic file format 300 has a file structure asshown in FIG. 4.

FIG. 3 shows a stereoscopic file format 400 when the major_brand syntaxvalue of the ftyp box 301 indicates the ssc2 type.

Referring to FIG. 3, the stereoscopic file format 400 has two ESs 421and 422 respectively including a left view image and a right view image.Thus, a moov box 410 includes track headers 411 and 412 corresponding tothe ESs 421 and 422, respectively.

FIG. 4 shows a stereoscopic file format 500 when the major_brand syntaxvalue of the ftyp box 301 indicates the ssc1 type.

Referring to FIG. 4, the stereoscopic file format 500 has an ES 521 inwhich samples or frames of left view video data and samples or frames ofright view video data are interleaved in a frame unit and arranged.

An apparatus and method for generating a stereoscopic file by using thestereoscopic file format 300 will now be described.

FIG. 5 shows an apparatus 200 for generating a stereoscopic fileaccording to an embodiment of the present invention.

Referring to FIG. 5, the apparatus 200 for generating the stereoscopicfile includes a first camera 210, a second camera 220, a video signalprocessing unit 230, an encoder 240, a file generating unit 250, and aconfiguration information providing unit 260.

The first camera 210 photographs a predetermined subject from a leftview or a right view, and outputs first video data. The second camera220 photographs the subject from another view different to that of thefirst camera 210, and outputs second video data.

The video signal processing unit 230 pre-processes the first and secondvideo data output by the first camera 210 and the second camera 220. Thepre-processing performed by the video signal processing unit 230corresponds to conversion of an external image value, i.e., light andcolor components, that is an analog value recognized by a charge coupleddevice (CCD) or a complimentary metal-oxide semiconductor (CMOS) typesensor into a digital value.

The apparatus 200 for generating the stereoscopic file may furtherinclude a storage unit (not shown) that stores the first or second videodata that is pre-processed by the video signal processing unit 230.Also, a storing device that functions as a buffer between the elementsshown in FIG. 5 is not separately shown in the present embodiment. Theencoder 240 encodes the first and second video data. The encodingperformed by the encoder 240 includes compression of data, which can beskipped as occasion demands.

The file generating unit 250 generates the stereoscopic file by usingthe first and second video data encoded by the encoder 240. In thiscase, the file generating unit 250 receives configuration informationindicating a stereoscopic file format of the present embodiment from theconfiguration information providing unit 260. The configurationinformation can be previously stored in the file generating unit 250. Inthis case, the configuration information providing unit 260 can beremoved.

As described above, the stereoscopic file format of the presentembodiment is the same as shown in FIG. 2, and is defined by selectingand assembling boxes 301-343 which are necessary for storing andreproducing stereoscopic content from the boxes included in theconventional ISO based media file format.

Meanwhile, the file generating unit 250 can have a structure in whichthe stereoscopic file includes one ES or two ESs.

In the present embodiment, a major_brand syntax defined in the ftyp box301 can be used to constitute the structure of the stereoscopic file.

FIG. 6 shows a method of generating a stereoscopic file according to thepresent invention. The method of FIG. 6 includes a photographing stepS610, a pre-processing step S620, an encoding step S630, and a filegenerating step S640 operations.

In the photographing step S610, a predetermined subject is photographedfrom a left view or a right view, and first video data is output, andthe predetermined subject is photographed from another view that isdifferent to that of the first video data, and second video data isoutput.

In the pre-processing step S620, the first and second video data arepre-processed. In more detail, the first and second video data that areanalog values recognized by a CCD or CMOS type sensor are converted intodigital values.

In the encoding step S630, the pre-processed first and second video dataare encoded, which can be skipped as occasion demands.

In the file generating step S640, the encoded first and second videodata are used to generate the stereoscopic file, by selecting andassembling boxes 301-343 which are necessary for storing and reproducingstereoscopic content from the boxes included in the conventional ISObased media file format according to configuration informationindicating the stereoscopic file format of the present embodiment.

The structure of the stereoscopic file can include one ES or two ESs. Inthe file generating step S640, a value indicating the structure of thestereoscopic file can be inserted into one of the boxes of thestereoscopic file format or a conventional value can indicate thestructure of the stereoscopic file.

FIG. 7 shows a stereoscopic file format according to another embodimentof the present invention.

The stereoscopic file 400 is generated by arranging boxes that areselected from boxes included in a conventional ISO based media fileformat, as shown in FIG. 7.

One ES or two ESs generated by combining the stereoscopic content withthe monoscopic content indicate a camera information related to eachstereo fragment and display safety information, and a file format of thestereoscopic content including stereoscopic video media information.

The format of the stereoscopic file 400 shown in FIG. 7 is implementedby adding a box defined on the conventional ISO based media file formatand boxes newly defined for necessary information, based on the fileformat shown in FIG. 2.

The brief description of boxes included in the file format shown in FIG.7 is as follows.

An ftyp box 401 indicates a file type and compatibility.

A pdin box 403 includes information necessary to download a file.

A moov box 405 is a container for media data.

An mvhd box 407 indicates a movie header.

A trak box 409 is a container for each track or stream.

A tkhd box 411 is a track header including general information regardinga track.

A tref box 413 is a container for indicating a reference track.

An edts box 415 is an edit list container.

An elst box 417 is a box related to a presentation time line.

An mdia box 419 is a container for the media data information in atrack.

An mdhd box 421 indicates a media header.

An hdlr box 423 is a handler defining the type of media.

An minf box 425 is a container for the media data information.

A vmhd box 427 includes video media header information.

An smhd box 429 includes sound media header information.

An hmhd box 431 includes hint media header information.

An nmhd box 433 includes Null media header information.

A dinf box 435 is a container for data information.

A dref box 437 is a data reference box defining sources of media in atrack.

An stbl box 439 is a sample table box.

An stsd box 441 is a sample description box for codec type information,initialization information, etc.

An stts box 443 indicates a decoding type of a sample.

An stsc box 445 is a sample-to-chunk box indicating a location where asample bitstream is stored.

An stsz box 447 indicates bitstream sizes of samples.

An stz2 box 449 indicates compact bitstream sizes of samples.

An stco box 451 is a chunk offset box indicating where a samplebitstream is stored.

A co64 box 453 is a chunk offset box represented by 64-bit.

An stss box 455 is a sync sample table box.

An ipmc box 457 is a control box related to content protection.

An mdat box 459 is a container including media data.

An meta box 461 is a container for storing additional metadata.

An hdlr box 463 is a handler for defining the type of metadata.

An iloc box 465 is a box specifying an item location.

An iinf box 467 is a box specifying item information.

An xml box 469 is a container for xml.

A bxml box 471 is a container for binary xml.

An scdi box 473 is a box for a stereoscopic camera and display safetyinformation.

An svmi box 475 is a box for stereoscopic video media information.

Of the boxes shown in FIG. 7, all boxes except for the scdi box 473 andthe svmi box 475 are defined in the ISO based media file format.

The definition, syntax, and semantics of the scdi box 473 are defined byTable 2 below.

TABLE 2    [Definition]    Box Type:  ‘scdi’    Container:  MetaBox(‘meta’)    Mandatory:  Yes    Quantity:  Exactly one    [Syntax]   aligned(8) class StereoscopicCameraAndDisplayInformationBox   extends    FullBox(‘scdi’, version=0, 0)    {       // stereoscopiccamera information       unsigned int(1) is_cam_params;       unsignedint(7) reserved;       if(is_cam_params)       {          unsignedint(32) baseline;          unsigned int(32) focal_length;         unsigned int(32) convergence_distance;          unsigned int(1)is_camera_cross;          unsigned int(7) reserved;         if(is_camera_cross)          {             unsigned int(32)   camera_rotation[ ];          }       }       // stereoscopic displayinformation       unsigned int(1)    is_display_safety_info;      unsigned int(7)    reserved;       if(is_display_safety_info)      {          unsigned int(16) viewing_distance;          unsignedint(16) display_size;          int(16)  min_of_disparity;         int(16)  max_of_disparity;       }    }    [Semantics]   is_cam_params:  indicates if camera parameter information is   included    baseline: distance between two cameras    focal_length:   distance  from  optical  center  to    image  plane   convergence_distance: distance from center of baseline to a   convergence point    is_camera_cross:  defines arrangement of acamera (0: parallel arrangement, 1: cross arrangement)   camera_rotation:  position angle of camera toward the object   is_display_safety_info: identifies if stereoscopic display   information is included    viewing_distance:  distance between a userand a display device    display_size: screen size of a display device   min_of_disparity: minimum disparity between left image and    rightimage    max_of_disparity: maximum disparity between left image and   right image

The definition, syntax, and semantics of the svmi box 475 are defined byTable 3 below.

TABLE 3    [Definition]    Box Type:  ‘svmi’    Container: MetaBox(‘meta’)    Mandatory:  Yes    Quantity:  Exactly on    [Syntax]   aligned(8)  class  StereoscopicVideoInformationBox  extendsFullBox(‘svmi’, version = 0, 0)     //stereoscopic visual typeinformation     unsigned int(8) stereoscopic_composition_type;    unsigned int(1) is_left_first;     unsigned int(7) reserved;     //stereoscopic fragment information     unsigned int(1) is_all_stereo;    unsigned int(7) reserved;     if(is_all_stereo == 0)       unsignedint(1) is_main_media;       unsigned int(7) reserved;       unsignedint(32) entry_count;       for(i=0; i<entry_count; i++)         unsignedint(32) sample_count;         unsigned int(8)  stereo_flag;   [Semantics]    stereoscopic_composition_type: type of framecomposition of stereoscopic video content (0: side-by-side, 1: verticalline interleaved, 2: frame sequential, 3: monoscopic left image, 4:monoscopic right image)    is_left_first: indicates which one of leftimage and right image is    first encoded    is_all_stereo: indicates ifall fragments within ES are stereo fragments (0: mono, 1: stereo)   is_main_media: indicates if monoscopic content within ES is mainmedia (0: sub media, 1: main media)    entry_count: the number ofsamples having successive values     sample_count: the number of sampleshaving successive values     stereo_flag: indicates if current frame isstereo or mono     (0: mono, 1:stereo)

In the present invention, it is possible to newly define and use a valueindicating the file format of the stereoscopic content defined byassembling the stereoscopic data and the monoscopic data. In this case,the value may be included in one of the boxes included in thestereoscopic file format according to the present invention.

Alternatively, in the present invention, a specific value of one of theboxes defined in the conventional stereoscopic file format can be usedto indicate the structure of the stereoscopic content file.

That is, the specific value is defined to indicate an ss01 type and anss02 type so as to identify if a corresponding stereoscopic contentincludes either the assembly of the stereoscopic data and the monoscopicdata, or the stereoscopic data as summarized in Table 4 below.

TABLE 4 Types Specifications ‘ss01 Stereoscopic content without partialmonoscopic data ‘ss02 Stereoscopic content with partial monoscopic data

For example, the values shown in Table 4 can be represented by using abrand identifier syntax value defined in the ftyp box 301 shown in Table1.

While the invention has been shown and described with reference tocertain preferred embodiments thereof, it will be understood by thoseskilled in the art that various changes in form and details may be madetherein without departing from the spirit and scope of the invention asdefined by the appended claims.

What is claimed is:
 1. An apparatus for reproducing a stereoscopic file,the apparatus comprising: a memory configured to store a stereoscopicfile, the stereoscopic file including: an svmi box for stereoscopicvideo media information, the svmi box including a first value indicatinga stereoscopic composition type, and an scdi box for stereoscopic cameraand display information, the svmi box including a second valueassociated with two cameras of a stereoscopic camera; a reproductiondevice configured to parse the svmi box and the scdi box to reproducethe stereoscopic file; and a display device configured to display thereproduced stereoscopic file.
 2. The apparatus of claim 1, wherein thestereoscopic file further includes a third value indicating a first typerepresenting that stereoscopic content has one elementary stream or asecond type representing that the stereoscopic content has twoelementary streams.
 3. The apparatus of claim 2, wherein the oneelementary stream includes left and right view video frames, and whereinthe two elementary streams include a first elementary stream includingthe left view video frames and a second elementary stream including theright view video frames.
 4. The apparatus of claim 1, wherein thestereoscopic composition type is one of a side-by-side type, a verticalline interleaved type, or a frame sequential type for the stereoscopicfile.
 5. The apparatus of claim 1, wherein the svmi box further includesat least one of: a value indicating which of a left image and a rightimage is first encoded; a value indicating a number of successivesamples; and a value indicating if a current frame is stereo or mono. 6.The apparatus of claim 1, wherein the scdi box further includes at leastone of: a value indicating if camera parameter information is included;a value indicating a distance from an optical center to an image plane;a value indicating a distance from a center of a baseline to aconvergence point; and a value indicating an arrangement of thestereoscopic camera.
 7. The apparatus of claim 1, wherein the scdi boxfurther includes at least one of: a value indicating if display safetyinformation is included; a value indicating a distance between a userand a display; a value indicating a screen size of the display; a valueindicating a minimum disparity between a left image and a right image;and a value indicating a maximum disparity between the left image andthe right image.
 8. The apparatus of claim 1, wherein the stereoscopicfile includes two elementary streams, each of the two elementary streamsincluding left view video data and right view video data.
 9. Theapparatus of claim 1, wherein the stereoscopic file includes anelementary stream including samples or frames of left view video dataand samples or frames of right view video data that are interleaved in aframe unit.
 10. The apparatus of claim 1, wherein the stereoscopic filehas a structure for stereoscopic content defined by assemblingstereoscopic data and monoscopic data.
 11. An apparatus for generating astereoscopic file, the apparatus comprising: a memory configured tostore first video data and second video data; and a file generatingdevice configure to: arrange the first video data and the second videodata according to a stereoscopic file format; and generate astereoscopic file, wherein the stereoscopic file includes: an svmi boxfor stereoscopic video media information, the svmi box including a firstvalue indicating a stereoscopic composition type; and an scdi box forstereoscopic camera and display information, the svmi box including asecond value associated with two cameras of a stereoscopic camera. 12.The apparatus of claim 11, wherein the stereoscopic file furtherincludes a third value indicating a first type representing thatstereoscopic content has one elementary stream or a second typerepresenting that the stereoscopic content has two elementary streams.13. The apparatus of claim 12, wherein the one elementary streamincludes left and right view video frames, and wherein the twoelementary streams include a first elementary stream including the leftview video frames and a second elementary stream including the rightview video frames.
 14. The apparatus of claim 11, wherein thestereoscopic composition type is one of a side-by-side type, a verticalline interleaved type or a frame sequential type for the stereoscopicfile.
 15. The apparatus of claim 11, wherein the svmi box furtherincludes at least one of: a value indicating which of a left image and aright image is first encoded; a value indicating a number of successivesamples; and a value indicating if a current frame is stereo or mono.16. The apparatus of claim 11, wherein the scdi box further includes atleast one of: a value indicating if camera parameter information isincluded; a value indicating a distance from an optical center to animage plane; a value indicating a distance from a center of a baselineto a convergence point; and a value indicating an arrangement of thestereoscopic camera.
 17. The apparatus of claim 11, wherein the scdi boxfurther includes at least one of: a value indicating if display safetyinformation is included; a value indicating a distance between a userand a display; a value indicating a screen size of the display; a valueindicating a minimum disparity between a left image and a right image;and a value indicating a maximum disparity between the left image andthe right image.
 18. The apparatus of claim 11, wherein the stereoscopicfile includes two elementary streams, each of the two elementary streamsincluding left view video data and right view video data.
 19. Theapparatus of claim 11, wherein the stereoscopic file includes anelementary stream including samples or frames of left view video dataand samples or frames of right view video data that are interleaved in aframe unit.
 20. The apparatus of claim 11, wherein the stereoscopic filehas a structure for stereoscopic content defined by assemblingstereoscopic data and monoscopic data.